package com.cj.st.dao;

import com.cj.st.entity.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.CrudRepository;
import org.springframework.data.repository.Repository;

public interface UserInfoDao extends JpaRepository<UserInfo, Integer> {
    /**
     * 通过username查找用户信息;
     */
    public UserInfo findByUsername(String username);
}